from pydantic import BaseModel, Field
from datetime import datetime


class ApiRecord(BaseModel):
    api: str = Field(title='所要监控的 API')
    create_time: datetime = Field(default_factory=datetime.now, title='创建时间')
